﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace AWP_Vl_3_properties
{
    class Program
    {
        static void Main(string[] args)
        {

            Person person = new Person();

            int x = 21;

            person.alter = x;

            person.alterII = x;

            person.alterIII = x;

            Console.WriteLine("Alter als Attribut: " + person.alter);

            Console.WriteLine("Alter als Property: " + person.alterII);

            Console.WriteLine("Alter als Property: " + person.alterIII);

            Console.ReadKey();
        }
    }
}
